﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities
{
    public class KhachHang
    {
        // properties

       
        private int maKH;
        private String userName;
        private String passWord;
        private String email;
        private String avatar;
        private String cmnd;
        private String hoTen;
        private DateTime ngaySinh;
        private Boolean gioiTinh;
        private String sdt;
        private String diaChi;
        private DateTime ngayDangKy;
        private String rand;
        private decimal tongTien;
        private Boolean isActive;


        // Getters and Setters
        public int MaKH
        {
            get { return maKH; }
            set { maKH = value; }
        }


        public String UserName
        {
            get { return userName; }
            set { userName = value; }
        }


        public String PassWord
        {
            get { return passWord; }
            set { passWord = value; }
        }


        public String Email
        {
            get { return email; }
            set { email = value; }
        }


        public String Avatar
        {
            get { return avatar; }
            set { avatar = value; }
        }


        public String Cmnd
        {
            get { return cmnd; }
            set { cmnd = value; }
        }


        public String HoTen
        {
            get { return hoTen; }
            set { hoTen = value; }
        }


        public DateTime NgaySinh
        {
            get { return ngaySinh; }
            set { ngaySinh = value; }
        }


        public Boolean GioiTinh
        {
            get { return gioiTinh; }
            set { gioiTinh = value; }
        }


        public String Sdt
        {
            get { return sdt; }
            set { sdt = value; }
        }


        public String DiaChi
        {
            get { return diaChi; }
            set { diaChi = value; }
        }


        public DateTime NgayDangKy
        {
            get { return ngayDangKy; }
            set { ngayDangKy = value; }
        }


        public String Rand
        {
            get { return rand; }
            set { rand = value; }
        }


        public decimal TongTien
        {
            get { return tongTien; }
            set { tongTien = value; }
        }


        public Boolean IsActive
        {
            get { return isActive; }
            set { isActive = value; }
        }


        // Constructors

        public KhachHang()
        {

        }
        public KhachHang(int maKH, String userName, String passWord, String email, String avatar,
            String cmnd, String hoTen, DateTime ngaySinh, Boolean gioiTinh, String sdt, String diaChi,
            DateTime ngayDangKy, String rand, decimal tongTien, Boolean isActive)
        {
            this.maKH = maKH;
            this.userName = userName;
            this.passWord = passWord;
            this.email = email;
            this.avatar = avatar;
            this.cmnd = cmnd;
            this.hoTen = hoTen;
            this.ngaySinh = ngaySinh;
            this.gioiTinh = gioiTinh;
            this.sdt = sdt;
            this.diaChi = diaChi;
            this.ngayDangKy = ngayDangKy;
            this.rand = rand;
            this.tongTien = tongTien;
            this.isActive = isActive;
        }



    }
}
